#!/usr/bin/env python
#-*- Encoding: UTF-8 -*-

"""
Store parameters used for probe evaluation

"""

###################################################################
#
# Parameters for ASP
asp_probeA_p0 = 9.6e-7
asp_probeA_p1 = 9.6e-7
asp_probeA_p2 = 9.6e-7
asp_probeA_p3 = 9.6e-7

###################################################################
#
# Parameters for FSP



###################################################################
#
# Times to use for shot analysis

asp_timelist_dict = {1111208005: (0.5, 1.5),
                     1111208006: (0.5, 1.5),
                     1111208007: (0.75, 1.1),
                     1111208008: (0.65, 1.50),
                     1111208009: (0.5, 1.50),
                     1111208010: (0.8, 1.1),
                     1111208011: (0.80, 1.10),
                     1111208012: (0.5, 0.7),
                     1111208025: (0.6, 0.95),
                     1111208034: (0.7, 1.1)}

osd_timelist_dict = {1111208007: (0.75, 1.10),
                     1111208008: (0.65, 1.50),
                     1111208011: (0.80, 1.10),
                     1111208012: (0.50, 0.70),
                     1111208025: (0.80, 1.30),
                     1111208034: (0.80, 1.20)}


###################################################################
#
# These are times, where the probe is arcing. Mask them out
#
# see cmod/asp_create_mask.py

asp_mask_tuple_dict = {1111208005: [(0.650855, 0.650865),
                                    (1.284145, 1.284160)],
                       1111208006: [(0.751200, 0.752050)],
                       1111208007: [(1.088830, 1.088850),
                                    (1.134120, 1.134140),
                                    (1.320745, 1.320765)],
                       1111208008: [],
                       1111208009: [(0.601810, 0.605460),
                                    (1.159550, 1.159570)],
                       1111208010: [(0.519230, 0.519250),
                                    (0.548341, 0.548401)],
                       1111208011: [],
                       1111208012: [(0.605266, 0.605281)],
                       1111208025: [],
                       1111208034: []}

osd_p09_mask_tuple_dict = {1111208007: (),
                           1111208008: (),
                           1111208009: (),
                           1111208010: (),
                           1111208011: (),
                           1111208012: (),
                           1111208025: (),
                           1111208034: ()}
osd_p10_mask_tuple_dict = {1111208007: (),
                           1111208008: (),
                           1111208009: (),
                           1111208010: (),
                           1111208011: (),
                           1111208012: (),
                           1111208025: (),
                           1111208034: ()}

###################################################################
#
# FSP parameters
# Probe area
fsp_probeA_p0 = 1.03e-6
fsp_probeA_p1 = 9.67e-7
fsp_probeA_p2 = 1.06e-6
fsp_probeA_p3 = 8.81e-7
# Reciprocations
fsp_t_recip_list = [(0.65, 0.75), (0.9, 1.0), (1.15, 1.25)]


# End of file probe_parameters.py
